﻿// -----------------------------------------------------------------------
// <copyright file="AttachmentJob_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class AttachmentJob_BLL
    {
        public static List<AttachmentsJob> GetAll(int shipID)
        {
            return AttachmentJob_DAL.GetAll(shipID);
        }
        public static bool Insert(AttachmentsJob Attachment)
        {
            return AttachmentJob_DAL.Insert(Attachment);
        }
        public static AttachmentsJob GetDataById(int id)
        {
            return AttachmentJob_DAL.GetDataById(id);
        }
        public static bool Update(AttachmentsJob Attachment)
        {
            return AttachmentJob_DAL.Update(Attachment);
        }
        public static bool Delete(AttachmentsJob Attachment)
        {
            return AttachmentJob_DAL.Delete(Attachment);
        }
        public static bool IsExits(AttachmentsJob Attachment)
        {
            return AttachmentJob_DAL.IsExits(Attachment);
        }
        public static List<AttachmentsJob> GetDataByJobID(int id, bool isChanged)
        {
            return AttachmentJob_DAL.GetDataByJobID(id, isChanged);
        }
        public static bool IsExitsID(AttachmentsJob AttachmentsJob)
        {
            return AttachmentJob_DAL.IsExitsID(AttachmentsJob);
        }
        public static AttachmentsJob GetLastData()
        {
            return AttachmentJob_DAL.GetLastData();
        }
    
    }
}
